/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package de.editura.oxygen.severin.imageviewer.features.knownDatamodels;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;

/**
 *
 * @author kschmidtner
 */
@XmlAccessorType( XmlAccessType.FIELD )
public class KnownDatamodel implements Serializable {

    private String xmlFormat = "";
    private String cssRootElement = "";
    @XmlElementWrapper(name = "imageReferenceFields")
    @XmlElement(name = "imageReferenceField")
    private List<ImageRefField> imgRefFields = new ArrayList<ImageRefField>();

    public KnownDatamodel () {
        
    }

    public KnownDatamodel(String xmlFormat,
            String cssRootElement,
            List<ImageRefField> imgRefFields) {
        this.xmlFormat = xmlFormat;
        this.cssRootElement = cssRootElement;
        this.imgRefFields = imgRefFields;
    }

    public String getCssRootElement() {
        return cssRootElement;
    }

    public void setCssRootElement(String cssRootElement) {
        this.cssRootElement = cssRootElement;
    }


    public List<ImageRefField> getImgRefFields() {
        return imgRefFields;
    }

    public void setImgRefFields(List<ImageRefField> imgRefFields) {
        this.imgRefFields = imgRefFields;
    }

    public String getXmlFormat() {
        return xmlFormat;
    }

    public void setXmlFormat(String xmlFormat) {
        this.xmlFormat = xmlFormat;
    }

    

}
